from cyaron import *

#predata
name = "button"
MAX = 0

for i in range(1, 11):
    test_data = IO(file_prefix=name, data_id=i)
    # make data
    if i < 6:
        MAX = 50
    else :
        MAX = 5*10**6
    str1 = String.random((1, MAX), charset="0000011111")
    str2 = String.random(len(str1), charset="0000011111")
    # writeln data
    test_data.input_writeln(str1)
    test_data.input_writeln(str2)
    # run data by shell
    test_data.output_gen("./"+name)